﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


public partial class UserControls_SubCateControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
            String id = Request.QueryString["ID"];
            if (id == null) id = "B1";
            DataList2.DataSource = DataAccess.getSubCategories(id);
            DataList2.DataBind();
    }
}